package com.yanqu.road.entity.banquet.auto;

import com.yanqu.road.entity.DataObject;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * 用户自动宴会记录
 */
public class CrossBanquetAutoJoinLog extends DataObject {

    //哪个冲榜活动的
    private int activityId;

    private long userId;


    private long banquetUserId;

    private String banquetId;

    //赴宴玩家的
    private int openItemId;

    private int joinItemId;

    //产生的
    private long integral;

    private long popularity;

    private long time;

    private boolean isDealReward;


    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getBanquetUserId() {
        return banquetUserId;
    }

    public void setBanquetUserId(long banquetUserId) {
        if(banquetUserId != this.banquetUserId){
            this.banquetUserId = banquetUserId;
            setUpdateOption();
        }
    }

    public String getBanquetId() {
        return banquetId;
    }

    public void setBanquetId(String banquetId) {
        if(!banquetId.equals(this.banquetId)){
            this.banquetId = banquetId;
            setUpdateOption();
        }
    }

    public int getOpenItemId() {
        return openItemId;
    }

    public void setOpenItemId(int openItemId) {
        if(openItemId != this.openItemId){
            this.openItemId = openItemId;
            setUpdateOption();
        }
    }

    public int getJoinItemId() {
        return joinItemId;
    }

    public void setJoinItemId(int joinItemId) {
        if(joinItemId != this.joinItemId){
            this.joinItemId = joinItemId;
            setUpdateOption();
        }
    }

    public long getIntegral() {
        return integral;
    }

    public void setIntegral(long integral) {
        if(integral != this.integral){
            this.integral = integral;
            setUpdateOption();
        }
    }

    public long getPopularity() {
        return popularity;
    }

    public void setPopularity(long popularity) {
        if(popularity != this.popularity){
            this.popularity = popularity;
            setUpdateOption();
        }
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public boolean isDealReward() {
        return isDealReward;
    }

    public void setDealReward(boolean dealReward) {
        if(dealReward != this.isDealReward){
            isDealReward = dealReward;
            setUpdateOption();
        }
    }
}
